package modelLag;


/**
 * Description of the class PartOrder.
 * 
 * @author (Christian, Umut, Christoffer, Patrick, Simon) 
 * @project (Semesterprojekt)
 * @version (2014.12.09)
 */
public class PartOrder
{
   private int amount;
   private Product product;

   /**
     * Constructor for objects of class PartOrder
     */
    public PartOrder(int amount, Product product){
        this.amount = amount;
        this.product = product;
   }
   
    /**
    * Return an object of the type Product.
    */
   public Product getProduct(){
       return product;
   }
   
    /**
    * Return the amount of products added.
    */
   public int getAmount(){
       return amount;
   }
}
  
